package com.taobao.pet.mapper;

import com.taobao.basic.mapper.BaseMapper;
import com.taobao.pet.domain.Pet;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface PetMapper extends BaseMapper<Pet> {

    // 宠物下架
    void offSale(@Param("ids") List<Long> ids,@Param("offsaletime") Date date);

    // 宠物上架
    void onSale(@Param("ids") List<Long> ids,@Param("onsaletime") Date date);
}
